<!--
 * @Descripttion: 
 * @version: 
 * @Author: EayCome
 * @Date: 2021-02-09 18:27:36
 * @LastEditors: EayCome
 * @LastEditTime: 2021-02-09 18:33:59
-->

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>数组去重</title>
    <script src="unqiue.js"></script>
</head>

<body>
    <script>
        // 声明一个函数
        const arr = [1, 2, 3, 5, 5, 2, 3, 4, 5, 1024];

        // 去重
        console.log(unqiue3(arr))
    </script>
</body>

</html>